﻿using System.Collections.Generic;
using XChipTool.Enties;

namespace XCSerialPort
{
    public interface IPageactions
    {
        string PageAddrSet(object sender,object Val, List<addressregister> listaddSum, string ModeName = null);
        string PageAddrGet(object sender, List<addressregister> listaddSum, string ModeName = null);

        string PageCheckSet(object sender, List<addressregister> listaddSum, string ModeName = null);
        string PageCheckGet(object sender, List<addressregister> listaddSum, string ModeName = null);


        List<ulong> ReadRegister(ulong address, out string msg, int count);
        void WriteRegister(ulong address, List<ulong> values, out string msg);
    }
}